const a = function ({ transfer: { type = "" } }, { $grid, xe: { get } }) {
  $grid.getColumns().map(({ params, field }) => {
    const isDynamic = field && get(params, "ui.custom.dynamic", false);
    if (isDynamic) $grid.hideColumn($grid.getColumnByField(field));
  });
  if (type == "yszx")
    ["MONEY2", "MONEY3", "MONEY4", "MONEY", "ZXL"].map(function (col) {
      $grid.showColumn($grid.getColumnByField(col));
    });
  if (type != "yszx")
    ["MONEYTL", "MONEYSL"].map(function (col) {
      $grid.showColumn(col);
    });
};
